package com.demo.villageresidence.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName tb_registration
 */
@TableName(value ="tb_registration")
@Data
public class Registration implements Serializable {
    /**
     * 报名表id
     */
    @TableId(type = IdType.AUTO)
    private Integer registrationId;

    /**
     * 报名时间
     */
    private LocalDateTime registrationTime;

    /**
     * 补充内容
     */
    private String registrationContent;

    /**
     * 用户表id 外键（user表-user_id）
     */
    private Integer userId;

    /**
     * 活动信息表id 外键（activity表-activity_id）
     */
    private Integer activityId;

    private Integer activityType;

    @TableField(exist = false)
    private Activity activity;

    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}